<template>

<div id="app">
  <el-container>
    <el-header style="height:70px">
      <Header></Header>
    </el-header>
    <hr>
    <el-main direction="vertical">
      <Main></Main>
    </el-main>
  </el-container>
</div>

</template>

<script>
import Header from '../../components/Header'
import Main from '../../components/Main'

// import axios from 'axios'

export default {

    name: 'App',
    components: {
      Header,Main,
    }
}
</script>

<style>
    /*.el-header{*/
    /*    background-color: #3f51b5;*/
    /*    color: #333;*/
    /*    text-align: center;*/
    /*    line-height: 60px;*/
    /*    min-height:70px;*/
    /*    padding: 0px;*/
    /*}*/

    /*.el-aside {*/
    /*    background-color: #D3DCE6;*/
    /*    color: #333;*/
    /*    text-align: center;*/
    /*    line-height: 200px;*/
    /*}*/

    /*.el-main {*/
    /*    background-color: #E9EEF3;*/
    /*    color: #333;*/
    /*}*/

    .el-header, .el-footer {
        background-color: #3f51b5;
        color: #333;
        text-align: center;
        line-height: 60px;
    }

    .el-aside {
        background-color: #D3DCE6;
        color: #333;
        text-align: center;
        line-height: 200px;
    }

    .el-main {
        background-color: #f0f1f9;
        color: #333;
        text-align: center;
        /*line-height: 160px;*/
    }

    body > .el-container {
        margin-bottom: 40px;
    }

    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {
        line-height: 260px;
    }

    .el-container:nth-child(7) .el-aside {
        line-height: 320px;
    }
</style>
